projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f0c4fc
)
color-editor: mark the GtkColorSwatch as not selectable
author
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 17 Feb 2012 16:02:43 +0000
(17:02 +0100)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 17 Feb 2012 16:03:15 +0000
(17:03 +0100)
gtk/gtkcoloreditor.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcoloreditor.c
b/gtk/gtkcoloreditor.c
index 5bab7ae977fa13127b2cced0b08c1f4f7e46adb1..ae151fe720557a482dfd36f8745a5abfeb2dde61 100644
(file)
--- a/
gtk/gtkcoloreditor.c
+++ b/
gtk/gtkcoloreditor.c
@@
-399,6
+399,7
@@
gtk_color_editor_init (GtkColorEditor *editor)
/* Construct the main UI */
editor->priv->swatch = swatch = gtk_color_swatch_new ();
+ gtk_color_swatch_set_selectable (GTK_COLOR_SWATCH (editor->priv->swatch), FALSE);
gtk_widget_set_events (swatch, gtk_widget_get_events (swatch)
& ~(GDK_BUTTON_PRESS_MASK
| GDK_BUTTON_RELEASE_MASK